package com.lemi.entity;

import com.lemi.common.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "sys_role_menu")
public class RoleMenu extends BaseEntity {

    private String roleId;
    private String menuId;
    private Integer type;
    private Integer status;

    public RoleMenu() {
    }

    public RoleMenu(String roleId, String menuId, Integer type, Integer status, Date createTime,String createName) {
        super(createTime,createName);
        this.roleId = roleId;
        this.menuId = menuId;
        this.type = type;
        this.status = status;
    }
}
